package org.seeplnframework.skyeye.common.util;

import org.springframework.util.StringValueResolver;

/**
 * @author ly
 * @date 2023/1/31
 */
public class SkyEyeStringValueResolverHelper {

    private static StringValueResolver resolver;

    public static void register(StringValueResolver svr) {
        resolver = svr;
    }

    public static String resolve(String source) {
        return resolver.resolveStringValue(source);
    }
}
